package com.jinmdz.fmis.api.model.config.dictionary;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 礼厅状态编码
 *
 * @author LiCongLu
 * @date 2020-02-10 16:15
 */
@Component("hallStatusCode")
@PropertySource(value = {"classpath:dictionary-code.properties"}, encoding = "utf-8")
@ConfigurationProperties(prefix = "hall.status")
public class HallStatusCode {

    /**
     * 已预订
     */
    private Integer yiYuDing;

    /**
     * 未入厅
     */
    private Integer weiRuTing;

    /**
     * 已入厅
     */
    private Integer yiRuTing;

    /**
     * 已出厅
     */
    private Integer yiChuTing;

    public Integer getYiYuDing() {
        return yiYuDing;
    }

    public HallStatusCode setYiYuDing(Integer yiYuDing) {
        this.yiYuDing = yiYuDing;
        return this;
    }

    public Integer getWeiRuTing() {
        return weiRuTing;
    }

    public HallStatusCode setWeiRuTing(Integer weiRuTing) {
        this.weiRuTing = weiRuTing;
        return this;
    }

    public Integer getYiRuTing() {
        return yiRuTing;
    }

    public HallStatusCode setYiRuTing(Integer yiRuTing) {
        this.yiRuTing = yiRuTing;
        return this;
    }

    public Integer getYiChuTing() {
        return yiChuTing;
    }

    public HallStatusCode setYiChuTing(Integer yiChuTing) {
        this.yiChuTing = yiChuTing;
        return this;
    }
}